
// 云函数入口文件
const cloud = require('wx-server-sdk')
// const db = cloud.database()
cloud.init({
  env: "zmyy-6uke0"
})
// 云函数入口函数
exports.main = async (event, context) => {
  return await cloud.database().collection('info')
  .where({    //数据库名称txl
    // _openid: "ovpns4hN0AigUxBvnMjDlBho-EeQ"
    gz_address:"门诊大厅"
  })
    //.orderBy('name', 'desc')//按字段排序
    .get()  
 }




